//! Includings
const koa = require("koa");
const path = require("path");
const serve = require("koa-static");

const route = require("./routes"); // Routes 

//! Declarations
const app = new koa();

app.use(serve(path.join(__dirname, "public")));

//! Routes entry
route(app);

app.listen(1026);

console.log("Server Started!");